#!/bin/bash

# replace the variables inside the properties file
sed -i \
     -e "s/%vlan%/${vlan}/g" \
     -e "s/%zuil%/${zuil}/g" \
     ${assembly.unzip.location}/application.properties

# link the tomcat context xml
ln -sf ${assembly.unzip.location}/rizzo-analytics-services-context.xml ${tomcat.root}/conf/Catalina/localhost/${rizzo-analytics-services.context}.xml